<template>
<div>
  <el-breadcrumb separator-class="el-icon-arrow-right" style="font-size: 16px;">
    <el-breadcrumb-item :to="{ path: '/' }"><i class="el-icon-s-promotion"></i> 员工管理列表</el-breadcrumb-item>
  </el-breadcrumb>
  <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
    <el-form-item label="员工id" prop="deployeeId"><el-input v-model="ruleForm.departmentId"></el-input>
    </el-form-item>
    <el-form-item label="员工姓名" prop="name">
      <el-input v-model="ruleForm.name"></el-input>
    </el-form-item>
    <el-form-item label="员工性别" prop="gender">
      <el-input v-model="ruleForm.gender"></el-input>
    </el-form-item>
    <el-form-item label="出生日期" prop="dateOfBirth">
      <el-input v-model="ruleForm.dateOfBirth"></el-input>
    </el-form-item>

    <el-form-item label="部门名称" prop="departmentId">
      <el-input v-model="ruleForm.department"></el-input>
    </el-form-item>
    <el-form-item label="职位" prop="position">
      <el-input v-model="ruleForm.position"></el-input>
    </el-form-item>
    <el-form-item label="入职日期" prop="hiredate">
      <el-input v-model="ruleForm.hiredate"></el-input>
    </el-form-item>

    <el-form-item label="工资" prop="salary">
      <el-input v-model="ruleForm.salary"></el-input>
    </el-form-item>
    <el-form-item label="联系电话" prop="contactnumber">
      <el-input v-model="ruleForm.contactnumber"></el-input>
    </el-form-item>
    <el-form-item label="地址" prop="email">
      <el-input v-model="ruleForm.email"></el-input>
    </el-form-item>

    <el-form-item>
      <el-button type="primary" @click="submitForm('ruleForm')">提交</el-button>
      <el-button @click="resetForm('ruleForm')">重置</el-button>
    </el-form-item>
  </el-form>
</div>
</template>


<script>
export default {
  name: "query.vue"
}
</script>

<style scoped>

</style>